package com.ruoyi.tester.executor;

import com.ruoyi.tester.domain.TaskInterfaceEffectiveInfo;
import org.json.JSONArray;

/**
 * @author SongJun
 * @description 表达式上下文
 * @date 2022/4/26 16:10
 */
public class ExpressionContext {
    private TaskInterfaceEffectiveInfo interfaceInfo;
    private Object context;
    private JSONArray innate;

    public ExpressionContext(TaskInterfaceEffectiveInfo interfaceInfo, JSONArray innate, Object context) {
        this.interfaceInfo = interfaceInfo;
        this.innate = innate;
        this.context = context;
    }

    public TaskInterfaceEffectiveInfo getInterfaceInfo() {
        return interfaceInfo;
    }

    public JSONArray getInnate() {
        return innate;
    }

    public Object getContext() {
        return context;
    }

    public void setContext(Object context) {
        this.context = context;
    }

}
